package com.example.message;

import lombok.Data;

@Data
public class Product {
    private String name;

    private int stock;

    public Product() {
    }

    public Product(Integer integer) {
    }

    public Integer reduceStock(Integer integer) {
        return stock - integer;
    }

    public boolean isEnough(Object i) {
        return true;
    }

    public Integer reduceStock(Integer o, Integer o1) {
        return o - o1;
    }

    public static void nameOf(Product product) {
    }
}
